package co.com.smart.persistence.entity;

import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

import co.com.smart.persistence.entity.dto.SmartArea;
import co.com.smart.persistence.entity.util.AbstractFacade;

/**
 * Session Bean implementation class AreaFacade
 */
@Stateless(
		name		= "AreaFacade", 
		mappedName 	= "ejb/AreaFacade")
public class AreaFacade extends AbstractFacade<SmartArea> implements AreaFacadeLocal{
	@PersistenceContext(unitName = "SmartServicesPU")
	private EntityManager em;
    /**
     * Default constructor. 
     */
    public AreaFacade() {
    	super(SmartArea.class);
    }

	@Override
	protected EntityManager getEntityManager() {
		return em;
	}
}
